package FlyGame;

import javax.swing.*;

public class RankFram extends JFrame {

    RankPanel rankPanel;
    public RankFram(){
        this.setTitle("Fly-Bird 小游戏");
        this.setBounds(200,200,240,345);
        this.setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);
        this.setResizable(false);
        rankPanel=new RankPanel();
        this.add(rankPanel);
        this.setVisible(true);

    }

    @Override
    public void setVisible(boolean b) {
        super.setVisible(b);
    }
}
